local status, todo = pcall(require, "todo-comments")
if not status then
	vim.notify("没有找到 todo-comments")
	return
end

todo.setup({
	keywords = {
		FIX = {
			-- ⚙️
			icon = "🛠️", -- icon used for the sign, and in search results
			color = "error", -- can be a hex color, or a named color (see below)
			alt = { "FIXME", "BUG", "FIXIT", "ISSUE" }, -- a set of other keywords that all map to this FIX keywords
			-- signs = false, -- configure signs for some keywords individually
		},
		TODO = { icon = "🛒", color = "info" },
		HACK = { icon = "🚨", color = "warning" },
		-- WARN = { icon = "⚠️", color = "warning", alt = { "WARNING", "XXX" } },
		WARN = { icon = "🚧", color = "warning", alt = { "WARNING", "XXX" } },
		PERF = { icon = "🔦", alt = { "OPTIM", "PERFORMANCE", "OPTIMIZE" } },
		NOTE = { icon = "📝", color = "hint", alt = { "INFO" } },
		-- 🥼 🧫 🧪
		TEST = { icon = "🧪", color = "test", alt = { "TESTING", "PASSED", "FAILED" } },
	},
})
